package com.telecomyt.jwportal.bean;

import java.io.Serializable;
import java.util.List;

/**
 * @author created by chengDa
 * @time 2020/8/29  10:00
 * @description
 */
public class UsersBean implements Serializable {

    /**
     * deptId : 280
     * deptName : 爱联络
     * parentId : 0
     * deptLevel : 0
     * deptOrder : 0
     * status : 0
     * tenantId : 110
     * createTime : 2020-01-17T01:19:03.000+0000
     * updateTime : 2020-01-16T10:41:55.000+0000
     * depts : [{"deptId":286,"deptName":"部门01","parentId":280,"deptLevel":"0,280","deptOrder":0,"status":0,"tenantId":110,"createTime":"2020-08-21T07:53:50.000+0000","updateTime":"2020-08-21T07:53:50.000+0000","userCount":0,"items":null,"users":null,"deptPath":"爱联络>部门01"},{"deptId":287,"deptName":"部门02","parentId":280,"deptLevel":"0,280","deptOrder":1,"status":0,"tenantId":110,"createTime":"2020-08-21T07:53:50.000+0000","updateTime":"2020-08-21T07:53:50.000+0000","userCount":0,"items":null,"users":null,"deptPath":"爱联络>部门02"}]
     * users : []
     * deptPath : 爱联络
     */

    private int deptId;
    private String deptName;
    private int parentId;
    private String deptLevel;
    private int deptOrder;
    private int status;
    private int tenantId;
    private String createTime;
    private String updateTime;
    private String deptPath;
    private List<DeptsBean> depts;
    private List<?> users;

    public int getDeptId() {
        return deptId;
    }

    public void setDeptId(int deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public int getParentId() {
        return parentId;
    }

    public void setParentId(int parentId) {
        this.parentId = parentId;
    }

    public String getDeptLevel() {
        return deptLevel;
    }

    public void setDeptLevel(String deptLevel) {
        this.deptLevel = deptLevel;
    }

    public int getDeptOrder() {
        return deptOrder;
    }

    public void setDeptOrder(int deptOrder) {
        this.deptOrder = deptOrder;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getTenantId() {
        return tenantId;
    }

    public void setTenantId(int tenantId) {
        this.tenantId = tenantId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getDeptPath() {
        return deptPath;
    }

    public void setDeptPath(String deptPath) {
        this.deptPath = deptPath;
    }

    public List<DeptsBean> getDepts() {
        return depts;
    }

    public void setDepts(List<DeptsBean> depts) {
        this.depts = depts;
    }

    public List<?> getUsers() {
        return users;
    }

    public void setUsers(List<?> users) {
        this.users = users;
    }

    public static class DeptsBean implements Serializable {
        /**
         * deptId : 286
         * deptName : 部门01
         * parentId : 280
         * deptLevel : 0,280
         * deptOrder : 0
         * status : 0
         * tenantId : 110
         * createTime : 2020-08-21T07:53:50.000+0000
         * updateTime : 2020-08-21T07:53:50.000+0000
         * userCount : 0
         * items : null
         * users : null
         * deptPath : 爱联络>部门01
         */

        private int deptId;
        private String deptName;
        private int parentId;
        private String deptLevel;
        private int deptOrder;
        private int status;
        private int tenantId;
        private String createTime;
        private String updateTime;
        private int userCount;
        private Object items;
        private Object users;
        private String deptPath;
        private boolean isCheck;

        public boolean isCheck() {
            return isCheck;
        }

        public void setCheck(boolean check) {
            isCheck = check;
        }

        public int getDeptId() {
            return deptId;
        }

        public void setDeptId(int deptId) {
            this.deptId = deptId;
        }

        public String getDeptName() {
            return deptName;
        }

        public void setDeptName(String deptName) {
            this.deptName = deptName;
        }

        public int getParentId() {
            return parentId;
        }

        public void setParentId(int parentId) {
            this.parentId = parentId;
        }

        public String getDeptLevel() {
            return deptLevel;
        }

        public void setDeptLevel(String deptLevel) {
            this.deptLevel = deptLevel;
        }

        public int getDeptOrder() {
            return deptOrder;
        }

        public void setDeptOrder(int deptOrder) {
            this.deptOrder = deptOrder;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getTenantId() {
            return tenantId;
        }

        public void setTenantId(int tenantId) {
            this.tenantId = tenantId;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public int getUserCount() {
            return userCount;
        }

        public void setUserCount(int userCount) {
            this.userCount = userCount;
        }

        public Object getItems() {
            return items;
        }

        public void setItems(Object items) {
            this.items = items;
        }

        public Object getUsers() {
            return users;
        }

        public void setUsers(Object users) {
            this.users = users;
        }

        public String getDeptPath() {
            return deptPath;
        }

        public void setDeptPath(String deptPath) {
            this.deptPath = deptPath;
        }
    }
}
